package com.example.myapplication.model.entity;

import androidx.databinding.Bindable;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
@Entity
public class ForumPics {
    @PrimaryKey(autoGenerate = true)
    @ColumnInfo(name = "forumPicId")
    @Bindable
    private int forumPicId;

    @ColumnInfo(name = "forumPicFatherId")
    @Bindable
    private int forumPicFatherId;

    @ColumnInfo(name = "forumPicPlace")
    @Bindable
    private int forumPicPlace;

    @ColumnInfo(name = "forumPic")
    @Bindable
    private byte[] forumPic;

    public int getForumPicId() {
        return forumPicId;
    }

    public void setForumPicId(int forumPicId) {
        this.forumPicId = forumPicId;
    }

    public int getForumPicFatherId() {
        return forumPicFatherId;
    }

    public void setForumPicFatherId(int forumPicFatherId) {
        this.forumPicFatherId = forumPicFatherId;
    }

    public int getForumPicPlace() {
        return forumPicPlace;
    }

    public void setForumPicPlace(int forumPicPlace) {
        this.forumPicPlace = forumPicPlace;
    }

    public byte[] getForumPic() {
        return forumPic;
    }

    public void setForumPic(byte[] forumPic) {
        this.forumPic = forumPic;
    }

    public ForumPics(int forumPicId, int forumPicFatherId, int forumPicPlace, byte[] forumPic) {
        this.forumPicId = forumPicId;
        this.forumPicFatherId = forumPicFatherId;
        this.forumPicPlace = forumPicPlace;
        this.forumPic = forumPic;
    }
}
